import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
	state: {
		size: '',
	},
	getters: {
		getSize: state => state.size,
	},
	mutations: {
		SET_SIZE: (state, size) => {
			if (size) {
				state.size = ''
			} else{
				state.size = 'large'
			}
		}
	},
	actions: {
	
	}
})

export default store
